package fei.yuzhi.com.loveflowers.fragment.shopping;


import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

/**
 * Created by Administrator on 2016/10/19 0019.
 */
@DatabaseTable(tableName = "goods")
public class ShoppingBean {
    @DatabaseField(columnName = "_id",generatedId = true)
    private int _id;
    @DatabaseField(columnName = "data")
    private String data;
    @DatabaseField(columnName = "title")
    private String title;
    @DatabaseField(columnName = "press")
    private double press;
    @DatabaseField(columnName = "max_num")
    private int max_num;
    @DatabaseField(columnName = "select_num")
    private int select_num;
    @DatabaseField(columnName = "image")
    private String image;
    @DatabaseField(columnName = "check")
    private boolean check;

    public ShoppingBean() {
    }

    public ShoppingBean(String data, String title, double press, int max_num, int select_num, String image, boolean check) {
        this.data = data;
        this.title = title;
        this.press = press;
        this.max_num = max_num;
        this.select_num = select_num;
        this.image = image;
        this.check = check;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public double getPress() {
        return press;
    }

    public void setPress(double press) {
        this.press = press;
    }

    public int getMax_num() {
        return max_num;
    }

    public void setMax_num(int max_num) {
        this.max_num = max_num;
    }

    public int getSelect_num() {
        return select_num;
    }

    public void setSelect_num(int select_num) {
        this.select_num = select_num;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public boolean isCheck() {
        return check;
    }

    public void setCheck(boolean check) {
        this.check = check;
    }
}
